package demo.test.dao;


import com.entites.DataDeviceSet;
import com.entites.DeviceSet;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.ArrayList;
import java.util.List;


/**
 *
 * 持久层，定义数据库访问操作
 * **/
@Mapper
public  interface DataDao {

    public DeviceSet getDeviceSet(@Param("id") Integer id);
    public ArrayList<DeviceSet> getDeviceSets();
    public ArrayList<DataDeviceSet> getDataDevice();

}
